.class public Lcom/waiqin365/lightapp/view/ScrollViewContainer;
.super Landroid/widget/RelativeLayout;


# instance fields
.field a:I

.field private b:Z

.field private c:Landroid/view/VelocityTracker;

.field private d:I

.field private e:I

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Z

.field private i:Z

.field private j:I

.field private k:I

.field private l:F

.field private m:Lcom/waiqin365/lightapp/view/hd;

.field private n:F

.field private o:I

.field private p:Landroid/os/Handler;

.field private q:Landroid/view/View$OnTouchListener;

.field private r:Landroid/view/View$OnTouchListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->b:Z

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ha;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ha;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->p:Landroid/os/Handler;

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a:I

    new-instance v0, Lcom/waiqin365/lightapp/view/hb;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hb;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->q:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/waiqin365/lightapp/view/hc;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hc;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->r:Landroid/view/View$OnTouchListener;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->b:Z

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ha;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ha;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->p:Landroid/os/Handler;

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a:I

    new-instance v0, Lcom/waiqin365/lightapp/view/hb;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hb;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->q:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/waiqin365/lightapp/view/hc;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hc;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->r:Landroid/view/View$OnTouchListener;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->b:Z

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    new-instance v0, Lcom/waiqin365/lightapp/view/ha;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/ha;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->p:Landroid/os/Handler;

    iput v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a:I

    new-instance v0, Lcom/waiqin365/lightapp/view/hb;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hb;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->q:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/waiqin365/lightapp/view/hc;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/hc;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->r:Landroid/view/View$OnTouchListener;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)F
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ScrollViewContainer;F)F
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    sub-float/2addr v0, p1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ScrollViewContainer;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    return p1
.end method

.method private a()V
    .locals 2

    new-instance v0, Lcom/waiqin365/lightapp/view/hd;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->p:Landroid/os/Handler;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hd;-><init>(Lcom/waiqin365/lightapp/view/ScrollViewContainer;Landroid/os/Handler;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->m:Lcom/waiqin365/lightapp/view/hd;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/ScrollViewContainer;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->i:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/ScrollViewContainer;F)F
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/ScrollViewContainer;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/ScrollViewContainer;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->h:Z

    return p1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/ScrollViewContainer;F)F
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    add-float/2addr v0, p1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    return v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    return v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)Lcom/waiqin365/lightapp/view/hd;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->m:Lcom/waiqin365/lightapp/view/hd;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/view/ScrollViewContainer;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    return v0
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 7

    const/4 v6, 0x3

    const/4 v5, 0x0

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    invoke-super {p0, p1}, Landroid/widget/RelativeLayout;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    return v4

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    if-nez v0, :cond_1

    invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    :goto_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->n:F

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iput v5, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0}, Landroid/view/VelocityTracker;->clear()V

    goto :goto_1

    :pswitch_2
    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    goto :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->i:Z

    if-eqz v0, :cond_5

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    if-nez v0, :cond_5

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    if-nez v0, :cond_5

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->n:F

    sub-float/2addr v1, v2

    add-float/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    cmpl-float v0, v0, v3

    if-lez v0, :cond_4

    iput v3, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iput v5, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    :cond_2
    :goto_2
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    const/high16 v1, -0x3f000000    # -8.0f

    cmpg-float v0, v0, v1

    if-gez v0, :cond_3

    invoke-virtual {p1, v6}, Landroid/view/MotionEvent;->setAction(I)V

    :cond_3
    :goto_3
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->n:F

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->requestLayout()V

    goto :goto_0

    :cond_4
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v1, v1

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_2

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v0, v0

    int-to-float v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iput v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    goto :goto_2

    :cond_5
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->h:Z

    if-eqz v0, :cond_8

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    if-ne v0, v4, :cond_8

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    if-nez v0, :cond_8

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->n:F

    sub-float/2addr v1, v2

    add-float/2addr v0, v1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v1, v1

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_7

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v0, v0

    int-to-float v0, v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iput v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    :cond_6
    :goto_4
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    rsub-int/lit8 v1, v1, 0x8

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_3

    invoke-virtual {p1, v6}, Landroid/view/MotionEvent;->setAction(I)V

    goto :goto_3

    :cond_7
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    cmpl-float v0, v0, v3

    if-lez v0, :cond_6

    iput v3, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iput v5, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->k:I

    goto :goto_4

    :cond_8
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->o:I

    goto :goto_3

    :pswitch_4
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->n:F

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    const/16 v1, 0x2bc

    invoke-virtual {v0, v1}, Landroid/view/VelocityTracker;->computeCurrentVelocity(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0}, Landroid/view/VelocityTracker;->getYVelocity()F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    cmpl-float v1, v1, v3

    if-eqz v1, :cond_0

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v2, v2

    int-to-float v2, v2

    cmpl-float v1, v1, v2

    if-eqz v1, :cond_0

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v1

    const/high16 v2, 0x43fa0000    # 500.0f

    cmpg-float v1, v1, v2

    if-gez v1, :cond_c

    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v1, v1

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_b

    iput v5, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    :cond_9
    :goto_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->m:Lcom/waiqin365/lightapp/view/hd;

    const-wide/16 v2, 0x2

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/lightapp/view/hd;->a(J)V

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;

    invoke-virtual {v0}, Landroid/view/VelocityTracker;->recycle()V

    :cond_a
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->c:Landroid/view/VelocityTracker;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    :cond_b
    iget v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    neg-int v1, v1

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_9

    iput v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    goto :goto_5

    :cond_c
    cmpg-float v0, v0, v3

    if-gez v0, :cond_d

    iput v5, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    goto :goto_5

    :cond_d
    iput v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->j:I

    goto :goto_5

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_4
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_2
        :pswitch_2
    .end packed-switch
.end method

.method protected onLayout(ZIIII)V
    .locals 6

    const/4 v5, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    iget v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    float-to-int v1, v1

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->e:I

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    float-to-int v4, v4

    add-int/2addr v3, v4

    invoke-virtual {v0, v5, v1, v2, v3}, Landroid/view/View;->layout(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->g:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    float-to-int v2, v2

    add-int/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->a:I

    add-int/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->e:I

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->l:F

    float-to-int v4, v4

    add-int/2addr v3, v4

    iget-object v4, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->g:Landroid/view/View;

    invoke-virtual {v4}, Landroid/view/View;->getMeasuredHeight()I

    move-result v4

    add-int/2addr v3, v4

    invoke-virtual {v0, v5, v1, v2, v3}, Landroid/view/View;->layout(IIII)V

    return-void
.end method

.method protected onMeasure(II)V
    .locals 2

    const/4 v1, 0x1

    invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->b:Z

    if-nez v0, :cond_0

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->b:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->getMeasuredHeight()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->d:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->getMeasuredWidth()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->e:I

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->g:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->g:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->r:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->f:Landroid/view/View;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/ScrollViewContainer;->q:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    :cond_0
    return-void
.end method
